package com.dj.repository;

import com.dj.bean.JcbgBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface JcbgRespository extends JpaRepository<JcbgBean,String>,JpaSpecificationExecutor<JcbgBean> {

    List<JcbgBean> findByItemName(String name);

    List<JcbgBean> findByItemNameLike(String name);
}
